<img src="./加载中.gif" src-rel="./images/1.png" height="300" alt=""><br>
<img src="./加载中.gif" src-rel="./images/2.png" height="300" alt=""><br>
<img src="./加载中.gif" src-rel="./images/3.png" height="300" alt=""><br>
<img src="./加载中.gif" src-rel="./images/4.png" height="300" alt=""><br>
<img src="./加载中.gif" src-rel="./images/5.png" height="300" alt=""><br>
<img src="./加载中.gif" src-rel="./images/6.png" height="300" alt=""><br>
<img src="./加载中.gif" src-rel="./images/7.png" height="300" alt="">
<script src="./jquery-1.7.2.min.js"></script>
<script src="./jq图片懒加载.js"></script>
<script>
    $(window).on('load scroll',function(){
        $('img').lazyLoad('src-rel')
    })
</script>